package com.lbb.sqlsession;

import com.lbb.pojo.Configuration;
import com.lbb.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement,Object...params) throws SQLException, ClassNotFoundException, Exception;
    public int update(Configuration configuration, MappedStatement mappedStatement, Object[] params) throws Exception;
}
